import axios from 'axios'
import api from "./server-api";

var _url = api.ip
// var _url = 'http://47.107.159.133:80'

const listApi = (callback) => {
  const url = _url + '/refund/?page=1&limit=5'
  axios.get(url).then(num => {
    console.log(num.data);
    callback && callback(num.data)
  })
}


export {
  listApi, // 自动刷新
}
